package generalClasses;

import java.io.Serializable;

public class Server implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private int type;
	
	private int state;
	

	private int region;

	private String name;
	private String adress;
	private int port;
	
	
	
	public Server(String name, String adress, int port,int type, int state ,int region)
	{
		super();
		this.type = type;
		this.state = state;
		this.name = name;
		this.adress = adress;
		this.port = port;
		this.region = region;
	}

	public int getRegion() {
		return region;
	}

	public void setRegion(int region) {
		this.region = region;
	}

	public int getType() 
	{
		return type;
	}
	
	public void setType(int type) {
		this.type = type;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAdress() {
		return adress;
	}

	public void setAdress(String adress) {
		this.adress = adress;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}
}
